package com.zj.fx.model.month;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MonthResult implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "所属分公司id")
    private String orgnization;

    @ApiModelProperty(value = "所属分公司名称")
    private String orgnizationName;

    @ApiModelProperty(value = "供电所id")
    private String supplyId;

    @ApiModelProperty(value = "供电所名称")
    private String supplyName;

    @ApiModelProperty(value = "任务年月")
    private String taskMonth;

    @ApiModelProperty(value = "任务id")
    private String fkTaskId;

    @ApiModelProperty(value = "供电所星级")
    private String star;

    @ApiModelProperty(value = "营销部得分--弃用")
    private String yingxiaoScore;

    @ApiModelProperty(value = "运检部得分--弃用")
    private String yunjianScore;

    @ApiModelProperty(value = "安全管理得分--弃用")
    private String anquanScore;

    @ApiModelProperty(value = "党建得分--弃用")
    private String dangjianScore;

    @ApiModelProperty(value = "数字化得分--弃用")
    private String shuzihuaScore;

    @ApiModelProperty(value = "发展规划得分--弃用")
    private String fazhanScore;

    @ApiModelProperty(value = "”五小“得分--弃用")
    private String wuxiaoScore;

    @ApiModelProperty(value = "管理提升满分分数--弃用")
    private String fullMark;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal totalScore;

    @ApiModelProperty(value = "必备条件是否合格（0否1是2结果上报中）")
    private String isNeccessary;

    @ApiModelProperty(value = "是否发布(0否1是2结果上报中)")
    private String isIssue;

    @ApiModelProperty(value = "最终排名")
    private String finalrank;

    @ApiModelProperty(value = "拓展字段--分类得分")
    private String score;

    @ApiModelProperty(value = "总得分(加权之前)")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal totalMark;


    public MonthResult(String id,String orgnization,String orgnizationName,String supplyId,String supplyName,String taskMonth,String fkTaskId,String star,String yingxiaoScore,String yunjianScore,String anquanScore,String dangjianScore,String shuzihuaScore,String fazhanScore,String wuxiaoScore,String fullMark,BigDecimal totalScore,String isNeccessary,String isIssue,String finalrank){

        this.id = id;

        this.orgnization = orgnization;

        this.orgnizationName = orgnizationName;

        this.supplyId = supplyId;

        this.supplyName = supplyName;

        this.taskMonth = taskMonth;

        this.fkTaskId = fkTaskId;

        this.star = star;

        this.yingxiaoScore = yingxiaoScore;

        this.yunjianScore = yunjianScore;

        this.anquanScore = anquanScore;

        this.dangjianScore = dangjianScore;

        this.shuzihuaScore = shuzihuaScore;

        this.fazhanScore = fazhanScore;

        this.wuxiaoScore = wuxiaoScore;

        this.fullMark = fullMark;

        this.totalScore = totalScore;

        this.isNeccessary = isNeccessary;

        this.isIssue = isIssue;

        this.finalrank = finalrank;

    }

    public MonthResult() {
        super();
    }


}